package com.yanfan.alarm.domain;

import lombok.Data;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 防区状态对象 nj_defence_area_info
 *
 * @author genluo
 * @date 2024-10-31
 */

@Data
public class NjDefenceAreaInfo implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * 防区 ID，主键
     */
    @Excel(name = "防区 ID，主键")
    @TableId(value = "defence_area_id" , type = IdType.ASSIGN_ID) // 字符串类型使用雪花算法
    private String defenceAreaId;

    /**
     * 防区名称
     */
    @Excel(name = "防区名称")
    private String defenceAreaName;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Long status;

    /**
     * 在线状态
     */
    @Excel(name = "在线状态")
    private Integer isOnline;

    /**
     * 旁路状态
     */
    @Excel(name = "旁路状态")
    private Integer byPass;

    /**
     * 防区类型
     */
    @Excel(name = "防区类型")
    private Long defenceAreaType;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private String updateTime;


}
